package com.atl.enity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 手机用户信息表
 * </p>
 *
 * @author 
 * @since 2024-06-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bank_card")
@ApiModel(value="BankCard对象", description="手机用户信息表")
public class BankCard implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "手机用户id")
    private Long stockUserId;

    @ApiModelProperty(value = "银行卡号")
    private String bankCardNo;

    @ApiModelProperty(value = "开户行")
    private String bankCardOpenBank;

    @ApiModelProperty(value = "银行卡过期时间")
    private LocalDateTime bankCardExpiredTime;

    @ApiModelProperty(value = "身份证号")
    private String idCardNo;

    @ApiModelProperty(value = "身份证正面照")
    private String idCardFrontImg;

    @ApiModelProperty(value = "身份证背面照")
    private String idCardBackImg;

    @ApiModelProperty(value = "身份证有效期开始时间")
    private LocalDateTime idCardStartTime;

    @ApiModelProperty(value = "身份证有效期结束时间")
    private LocalDateTime idCardEndTime;

    @ApiModelProperty(value = "自拍照")
    private String selfieImg;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "1:删除，0:未删除")
    private Integer isDeleted;

    private LocalDateTime timestamp;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "性别 0:男 ，1女")
    private Integer sex;


    @ApiModelProperty(value = "开户名称")
    private String bankCardName;



}
